package com.hzit.service;

import com.hzit.dto.StudentDTO;
import com.hzit.entity.PageResult;
import com.hzit.entity.Student;
import com.hzit.vo.StudentVo;

import java.util.List;

public interface StudentService {
	List<Student> findAll();

	PageResult<StudentDTO> findByPage(int page, int pageSize);

	PageResult<StudentDTO> search(int page, int pageSize, StudentVo vo);

	void save(Student student);

	void update(Student student);

	void delete(String sid);
}
